home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1995 March / Macworld CD-ROM (March 1995).cdr / Updaters / AppMaker 1.5.2->1.5.4 / Libraries / THINK / AMClassLibC / CLabeledGroup.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-21  |  1.7 KB  |  63 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  CLabeledGroup.h
  3.  
  4.         Interface for CLabeledGroup.c
  5.         
  6.         Copyright © 1991 Bowers Development Corporation. All rights reserved.
  7.         
  8.  ******************************************************************************/
  9.  
  10. #pragma once
  11.  
  12. #include <CRadioGroupPane.h>
  13. #include "AMUtilities.h"
  14. #include "CAMIconPane.h"
  15.  
  16. class CLabeledGroup : public CRadioGroupPane {
  17. public:
  18.     virtual void    ILabeledGroup    (CView            *anEnclosure, 
  19.                                      CBureaucrat    *aSupervisor,
  20.                                      short            aWidth,
  21.                                      short            aHeight,
  22.                                      short            aHEncl,
  23.                                      short            aVEncl,
  24.                                      SizingOption    aHSizing,
  25.                                      SizingOption    aVSizing,
  26.                                      short            aThickness,
  27.                                      short            aDropShadow,
  28.                                      Str255            aLabel,
  29.                                      short            aTextStyle,
  30.                                      short            aTextSize,
  31.                                      Str255            aFontName);
  32.     void    IViewTemp                (CView            *anEnclosure,
  33.                                       CBureaucrat    *aSupervisor,
  34.                                      Ptr            viewData);        // is override
  35.     void    ILabeledGroupX            (short            aThickness,
  36.                                      short            aDropShadow,
  37.                                      Str255            aLabel,
  38.                                      StylesP        p);
  39.     void    Dispose                    (void);                            // is override
  40.     void    MakeBorder                (short            aThickness,
  41.                                      short            aDropShadow);
  42.     void    Draw                    (Rect            *area);            // is override
  43.     void    ProviderChanged            (CCollaborator    *aProvider,
  44.                                      long            reason,
  45.                                      void            *info);            // is override
  46.  
  47. protected:
  48.     StringHandle        theLabel;        /* title of labeled group */
  49.     CAMIconPane            *radioStation;
  50.  
  51. };    /* CLabeledGroup */
  52.  
  53. typedef PaneTemp    CRadioGroupPaneTemp;
  54.  
  55. typedef struct    {    
  56.     CRadioGroupPaneTemp    sRadioGroupPaneTemp;
  57.     short                thickness;
  58.     short                dropShadow;
  59.     Str255                label;
  60.     StylesRec            typeStyle;
  61. } CLabeledGroupTemp, *CLabeledGroupTempP;
  62.  
  63.